home *** CD-ROM | disk | FTP | other *** search
- #LAPLACE 1
- #->
- if(irandom(10) > 5){sin(a)^2}else{cos(a)+1;1}
- #<-
- #->
- procedure a(b) {1;2;3}
- #<-
- #->
- if (b) {a = 1;} else a = 2;
- #<-
- #->
- while TRUE a = a+1;
- #<-
- #->
- procedure a [a=1,b=2,c=3] 1+2; B=g+1
- #<-
- #->
- $dispprec=2,$dispexp=3,$thicklines=2
- #<-
- #->
- 1+sin(12,2,3,4)+1;
- #<-
- #->
- sin cos tan 6 + 1
- #<-
- #->
- a:=-1e-6
- #<-
- #->
- ((1+ 2)*3 ^ 2)
- #<-
- #->
- sin cos tan 1 + 1
- #<-
- #->
- sin cos tan 6 + 1
- #<-
- #->
- sin()
- #<-
- #->
- a=1;b=2;c=3
- #<-
- #->
- element([1,3,4],3)
- #<-
- #->
- element([1,3,4;1,2,9],1,4)
- #<-
- #->
- rvector([1,3,4;1,2,9],3)
- #<-
- #->
- eqright(eq(2+3,a*2))
- #<-
- #->
- eq(2+3,a*2)
- #<-
- #->
-
- #<-
- #->
- for ( 0 , irandom(100) > 0 , 1 ) { debug("hallo"); }
- #<-
- #->
-
- #<-
- #->
- export(eval(matrix(3,3,n,m,n*m)),"Plain")
- #<-
- #->
-
- #<-
- #->
- a=fopen("laplace:About","r");
- #<-
- #->
- while ( !eof(a) ) { debug(freadln(a)) }
- #<-
- #->
- fclose(a)
- #<-
- #->
- a:=1
- #<-
- #->
- a=2
- #<-
- #->
- showentries
- #<-
- #->
- {a=3;showentries;a=4;showentries;b=9}
- #<-
- #->
- a=3,showentries,a=4,showentries,b=9
- #<-
- #->
- a:=2
- #<-
- #->
- b=a
- #<-
- #->
- eval(b)
- #<-
- #->
- f(x)=x^2
- #<-
- #->
- f(3)
- #<-
- #->
- x=5
- #<-
- #->
- f(x)
- #<-
- #->
- showentries
- #<-
- #->
- g
- #<-
- #->
- const(x)
- #<-
- #->
- x
- #<-
- #->
-
- #<-
- #->
- break(2,sin);
- #<-
- #->
- return(1);
- #<-
- #->
- sin
- #<-
- #->
-
- #<-
- #->
- x=4
- #<-
- #->
- f(x,y)=x^3+y
- #<-
- #->
- f
- #<-
- #->
- f(x)
- #<-
- #->
- g(x)=f
- #<-
- #->
- x=2
- #<-
- #->
- f
- #<-
- #->
- $dispprec
- #<-
- #->
- $dispprec=5
- #<-
- #->
- $dispprec
- #<-
- #->
- $thicklines=1
- #<-
- #->
-
- #<-
- #->
- $thicklines=0
- #<-
- #->
-
- #<-
- #->
- $prompt="hallo"
- #<-
- #->
-
- #<-
- #->
- prefsset("debugmode", "hallo")
- #<-
- #->
- prefsget(prefsget("debugmode"))
- #<-
- #->
- interpret(prefsget("profile"))
- #<-
- #->
- prefsset("debugmode", "hello")
- #<-
- #->
- prefsset("debugmode", "hello")
- #<-
- #->
- interpret("2048+2")
- #<-
- #->
-
- #<-
- #->
- showentries
- #<-
- #->
- a
- #<-
- #->
- a=1
- #<-
- #->
- b=2;c=4
- #<-
- #->
- a
- #<-
- #->
- b
- #<-
- #->
- c
- #<-
- #->
-
- #<-
-